﻿<ribbon:RibbonWindow x:Class="HMS.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
        xmlns:xcpt="clr-namespace:Xceed.Wpf.Themes.Office2007;assembly=Xceed.Wpf.Themes.Office2007.v2.0"
        Title="Hospital Managment System"
		x:Name="MainRibbonWindow"
        WindowState="Maximized"
        Style="{StaticResource ControlBackgroundStyle}"
		Width="640" Height="480">

	<Grid x:Name="LayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <ribbon:Ribbon x:Name="Ribbon"  Style="{StaticResource ControlBackgroundStyle}" SelectedIndex="0" IsEnabled="True">
            <ribbon:Ribbon.ApplicationMenu>
                <ribbon:RibbonApplicationMenu SmallImageSource="Images\SmallIcon.png">
                    <ribbon:RibbonApplicationMenuItem Header="Exit"
                                                      x:Name="ExitRibbonMenuItem"
                                                      ImageSource="Images\LargeIcon.png"/>
                </ribbon:RibbonApplicationMenu>
            </ribbon:Ribbon.ApplicationMenu>
            
            <ribbon:RibbonTab x:Name="HomeRibbonTab" 
                              Header="Home"> 
                
                <ribbon:RibbonGroup x:Name="ChannelingRibbonGroup" 
                                    Header="Channeling">
                    <ribbon:RibbonButton x:Name="ChannelingRibbonButton"
                                         LargeImageSource="Images\Icons\32x32\Stethoscope.png"
                                         Label="Channeling" Click="ChannelingRibbonButton_Click" />
                </ribbon:RibbonGroup>
                
                <ribbon:RibbonGroup x:Name="LabTestRibbonGroup" 
                                    Header="Laboratary Services">
                        <ribbon:RibbonButton x:Name="XRayRibbonButton"
                                         LargeImageSource="Images\Icons\32x32\XRay.png"
                                         Label="X-Ray" Click="XRayRibbonButton_Click" />
                    <ribbon:RibbonButton x:Name="LabTestRibbonButton"
                                         LargeImageSource="Images\Icons\32x32\TestTubes.png"
                                         Label="Lab Test" Click="LabTestRibbonButton_Click" />
                        <ribbon:RibbonButton x:Name="ScanRibbonButton"
                                         LargeImageSource="Images\Icons\32x32\Radioactive.png"
                                         Label="Scan" Click="ScanRibbonButton_Click" />
                    </ribbon:RibbonGroup>     
                
            </ribbon:RibbonTab>


            <ribbon:RibbonTab x:Name="SetupRibbonTab"
                              Visibility="Collapsed"
                              Header="Setup">
                <ribbon:RibbonGroup x:Name="DoctorRibbonGroup" 
                                    Header="Doctor">
                    <ribbon:RibbonButton x:Name="DoctorRibbonButton"
                                         LargeImageSource="Images\Icons\32x32\DoctorMale.png"
                                         Label="Doctor" Click="DoctorRibbonButton_Click" />
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
            <ribbon:RibbonTab x:Name="AdminRibbonTab" 
                              Visibility="Collapsed"
                              Header="Administration">
                <ribbon:RibbonGroup x:Name="UserRibbonGroup" 
                                    Header="User">
                    <ribbon:RibbonButton x:Name="UserRibbonButton"
                                         LargeImageSource="Images\Icons\32x32\UserSetup.png"
                                         Label="User" Click="UserRibbonButton_Click" />
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>
            <ribbon:RibbonTab x:Name="ReportRibbonTab" 
                              Visibility="Collapsed"
                              Header="Reports">
                <ribbon:RibbonGroup x:Name="ReportRibbonGroup" 
                                    Header="Report">
                    <ribbon:RibbonButton x:Name="ReportManagerRibbonButton"
                                         LargeImageSource="Images\Icons\32x32\LastThreeMonths.png"
                                         Label="Report Manager" Click="ReportManagerRibbonButton_Click" />
                </ribbon:RibbonGroup>
            </ribbon:RibbonTab>

        </ribbon:Ribbon> 
        
    </Grid>
</ribbon:RibbonWindow>
